<?php /* Smarty version 2.6.26, created on 2018-08-23 06:56:20
         compiled from D:%5Cwamp64%5Cwww%5CphotoWeb/templates/InterPhoto/mydesk.images.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 11, false),array('modifier', 'GetSystemInfo', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 12, false),array('modifier', 'GetUrl', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 34, false),array('modifier', 'InterEncode', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 34, false),array('modifier', 'ShortTitle', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 35, false),array('modifier', 'default', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 35, false),array('modifier', 'DisplayDate', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 40, false),array('function', 'cycle', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/mydesk.images.tpl', 33, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div id="main">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "mydesk.userpanel.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div id="md_rightbox">
<h2><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lan_manage'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lan_my']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lan_my'])))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lan_image']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lan_image'])); ?>
</h2>
<?php echo ((is_array($_tmp='')) ? $this->_run_mod_handler('GetSystemInfo', true, $_tmp) : GetSystemInfo($_tmp)); ?>


<div id="md_rightbox_main">
<form method="post" action="mydesk.images.php" name="imagesform">
<input type="hidden" name="action" value="deleteimages" />
<table width="100%" border="0" cellpadding="5" cellspacing="0"  class="tb_images">
<tr>
<td colspan="8"><?php echo $this->_tpl_vars['lan_userimages']; ?>
: <?php echo $this->_tpl_vars['totalimages']; ?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['lan_usernoacitveimages']; ?>
: <span class=<?php if ($this->_tpl_vars['noactiveimages']): ?>redb<?php endif; ?>><?php echo $this->_tpl_vars['noactiveimages']; ?>
</span></td>
</tr>
<tr>
<td nowrap="nowrap" class="tdrow1"><?php echo $this->_tpl_vars['lan_browse']; ?>
</td>
<td nowrap="nowrap" class="tdrow1"><?php echo $this->_tpl_vars['lan_edit']; ?>
</td>
<td nowrap="nowrap" class="tdrow1"><?php echo $this->_tpl_vars['lan_status']; ?>
</td>
<td nowrap="nowrap" class="tdrow1"><?php echo $this->_tpl_vars['lan_category']; ?>
</td>
<td nowrap="nowrap" class="tdrow1"><?php echo $this->_tpl_vars['lan_hits']; ?>
</td>
<td nowrap="nowrap" class="tdrow1"><?php echo $this->_tpl_vars['lan_downloads']; ?>
</td>
<td nowrap="nowrap" class="tdrow1"><?php echo $this->_tpl_vars['lan_date']; ?>
</td>
<td nowrap="nowrap" class="tdrow1"><input type="checkbox" checkall="group" <?php if (! $this->_tpl_vars['userinfo']['allowdelete']): ?>disabled<?php endif; ?> onclick="select_deselectAll('imagesform', this, 'group');"> <?php echo $this->_tpl_vars['lan_delete']; ?>
</td>
</tr>

<?php unset($this->_sections['image']);
$this->_sections['image']['name'] = 'image';
$this->_sections['image']['loop'] = is_array($_loop=$this->_tpl_vars['images']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['image']['show'] = true;
$this->_sections['image']['max'] = $this->_sections['image']['loop'];
$this->_sections['image']['step'] = 1;
$this->_sections['image']['start'] = $this->_sections['image']['step'] > 0 ? 0 : $this->_sections['image']['loop']-1;
if ($this->_sections['image']['show']) {
    $this->_sections['image']['total'] = $this->_sections['image']['loop'];
    if ($this->_sections['image']['total'] == 0)
        $this->_sections['image']['show'] = false;
} else
    $this->_sections['image']['total'] = 0;
if ($this->_sections['image']['show']):

            for ($this->_sections['image']['index'] = $this->_sections['image']['start'], $this->_sections['image']['iteration'] = 1;
                 $this->_sections['image']['iteration'] <= $this->_sections['image']['total'];
                 $this->_sections['image']['index'] += $this->_sections['image']['step'], $this->_sections['image']['iteration']++):
$this->_sections['image']['rownum'] = $this->_sections['image']['iteration'];
$this->_sections['image']['index_prev'] = $this->_sections['image']['index'] - $this->_sections['image']['step'];
$this->_sections['image']['index_next'] = $this->_sections['image']['index'] + $this->_sections['image']['step'];
$this->_sections['image']['first']      = ($this->_sections['image']['iteration'] == 1);
$this->_sections['image']['last']       = ($this->_sections['image']['iteration'] == $this->_sections['image']['total']);
?>
<tr  style="background:<?php echo smarty_function_cycle(array('values' => '#FFFFFF,#F5FAFF'), $this);?>
;">
<td class="tdrow2"><?php if ($this->_tpl_vars['images'][$this->_sections['image']['index']]['actived']): ?><a href="<?php echo ((is_array($_tmp='InterPhoto.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp, 'id', $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid']) : GetUrl($_tmp, 'id', $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid'])); ?>
" target="_blank"><?php endif; ?><img src="InterPhoto.thumbnail.php?file=<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['path'])) ? $this->_run_mod_handler('cat', true, $_tmp, "/0/") : smarty_modifier_cat($_tmp, "/0/")))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['images'][$this->_sections['image']['index']]['filename']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['images'][$this->_sections['image']['index']]['filename'])))) ? $this->_run_mod_handler('InterEncode', true, $_tmp) : InterEncode($_tmp)); ?>
"  onMouseMove="ShowBigImage();" /><?php if ($this->_tpl_vars['images'][$this->_sections['image']['index']]['actived']): ?></a><?php endif; ?></td>
<td class="tdrow2"><a href="<?php echo ((is_array($_tmp=((is_array($_tmp='mydesk.upload.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp, '', '', '', 'imageid=') : GetUrl($_tmp, '', '', '', 'imageid=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid'])); ?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['title'])) ? $this->_run_mod_handler('ShortTitle', true, $_tmp, '18') : ShortTitle($_tmp, '18')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['lan_notitle']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['lan_notitle'])); ?>
</a></td>
<td class="tdrow2"><?php if ($this->_tpl_vars['images'][$this->_sections['image']['index']]['actived']): ?><?php echo $this->_tpl_vars['lan_statusonline']; ?>
<?php else: ?><span class=redb><?php echo $this->_tpl_vars['lan_statusoffline']; ?>
</span><?php endif; ?></td>
<td class="tdrow2"><?php echo ((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['categorytitle'])) ? $this->_run_mod_handler('ShortTitle', true, $_tmp, '12') : ShortTitle($_tmp, '12')); ?>
</td>
<td class="tdrow2"><?php echo $this->_tpl_vars['images'][$this->_sections['image']['index']]['viewcount']; ?>
</td>
<td class="tdrow2"><?php echo $this->_tpl_vars['images'][$this->_sections['image']['index']]['downloadcount']; ?>
</td>
<td class="tdrow2"><?php echo ((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['created'])) ? $this->_run_mod_handler('DisplayDate', true, $_tmp, 'Y-m-d') : DisplayDate($_tmp, 'Y-m-d')); ?>
</td>
<td class="tdrow2"><input type="checkbox" name="deleteimageids[]" value="<?php echo $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid']; ?>
" checkme="group" <?php if (! $this->_tpl_vars['userinfo']['allowdelete']): ?>disabled<?php endif; ?>></td>
</tr>
<?php endfor; endif; ?>

<tr><td colspan="8"><?php echo $this->_tpl_vars['pagelist']; ?>
</td></tr>
<tr><td colspan="8" style="text-align:center;"><input type="submit" name="deleteimages" onclick="return confirm('<?php echo $this->_tpl_vars['lan_confirmdelete']; ?>
');" value=" <?php echo ((is_array($_tmp=$this->_tpl_vars['lan_delete'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lan_image']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lan_image'])); ?>
 " <?php if (! $this->_tpl_vars['userinfo']['allowdelete']): ?>disabled<?php endif; ?> /></td></tr>
</table>

</form>


</div>
</div>

</td>
</tr>
</table>
</div>


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>